= simple_form_for(@sales_finance_info, remote: true) do |f|
  = f.input_field :firm_id, as: :hidden
  table.table.table-white
    tr
      th style='width:120px' 开票类型
      td = f.input_field :invoice_type, class: 'form-control'
    tr
      th 开票抬头
      td = f.input_field :name, class: 'form-control'
    tr
      th 纳税人识别号
      td = f.input_field :tax_num, class: 'form-control'
    tr
      th 开户行
      td = f.input_field :bank_name, class: 'form-control'
    tr
      th 银行账号
      td = f.input_field :account_num, class: 'form-control'
    tr
      th 账单地址
      td = f.input_field :invoice_address, class: 'form-control'
    tr
      th 备注
      td = f.input_field :notes, class: 'form-control'
    tr
      td colspan=2

        lable.css-input.css-checkbox.css-checkbox-primary.pull-left
          |设为默认&nbsp;
          = f.check_box :as_default
          span
        .pull-right
          = f.button :submit, class: 'btn btn-primary'
          = link_to '关闭', 'javascript:void(0)', class: 'btn btn-default push-10-l', data: {dismiss: 'modal'}
